package com.bkgy.modularbx.coil_prod_stats.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 来料卷重范围统计结果DTO
 *
 * @author dell
 * @date 2025-01-06
 */
@Data
@Schema(description = "来料卷重范围统计结果")
public class MaterialWeightRangeResultDTO {

    @Schema(description = "钢种")
    private String steelGrade;

    @Schema(description = "规格宽度分类")
    private String widClass;

    @Schema(description = "规格厚度分类")
    private String thkClass;

    @Schema(description = "订单重量范围")
    private String orderwtMinMax;

    @Schema(description = "平均成材率")
    private BigDecimal avgYield;

    @Schema(description = "来料最大重量(吨),如果为0，此条记录行 标记为特殊颜色，并提示'无法达到来料重量要求'")
    private BigDecimal materialMaxWeight;

    @Schema(description = "来料最小重量(吨),如果为0，此条记录行 标记为特殊颜色，并提示'无法达到来料重量要求'")
    private BigDecimal materialMinWeight;

    @Schema(description = "平均分卷数")
    private BigDecimal avgCoilRecords;

    @Schema(description = "统计时间")
    private String statsTime;

    @Schema(description = "完全损失数量（损失重量=出口重量）")
    private Integer fullLossCount;

    @Schema(description = "部分损失数量（损失重量≠出口重量）")
    private Integer partialLossCount;

    @Schema(description = "完全损失占比")
    private BigDecimal fullLossRatio;

    @Schema(description = "部分损失占比")
    private BigDecimal partialLossRatio;
}
